package org.phalanx.client.media;

import javax.swing.ImageIcon;

public class ImageFactory {
	public static ImageFactory imageFactory;
	
	public static ImageFactory getInstance(){
		if (imageFactory == null){
			imageFactory = new ImageFactory();
		}
		
		return imageFactory;
	}
	
	public ImageIcon getImageIcon(String filePath){
		ImageIcon img = new ImageIcon();
		img = new ImageIcon(filePath);
		return img;
	}
}
